﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="imageadd.aspx.cs" Inherits="admin_imageadd" %>
<%@ Register src="../ascx/admin.ascx" tagname="admin" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <form  runat="server">
    <div class="k66">
        <div class="Struct">
            <div class="site">
                <h2>发布图片</h2>
            </div>
            <div class="Content zliao">
                <dl><dt>标题:</dt><dd><asp:TextBox ID="txtTitle" CssClass="input" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtTitle" ErrorMessage="*请输入标题" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </dd></dl>
               <dl><dt>颜色:</dt><dd>
                   <asp:DropDownList ID="drpColor" runat="server">
                   </asp:DropDownList>
                    </dd></dl>
                <dl><dt>标签:</dt><dd><asp:TextBox ID="txtTarget" CssClass="input" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtTarget" Display="Dynamic" ErrorMessage="*请输入标签"></asp:RequiredFieldValidator>
                    标签用逗号（,）隔开</dd></dl>
                <dl><dt>图片:</dt><dd><asp:FileUpload ID="fileupImage" CssClass="input" runat="server" /><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="fileupImage" Display="Dynamic" ErrorMessage="*请选择图片"></asp:RequiredFieldValidator></dd></dl>
                <dl><dt>&nbsp;</dt><dd><asp:Button ID="Button1" CssClass="sub" runat="server" 
                        Text="上传图片" onclick="Button1_Click" /></dd></dl>
                
            </div>
        </div>
    </div>
    </form>
    <uc1:admin id="admin1" runat="server" />
</asp:Content>
